package com.lwj.liwanjia.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/28.
 */

public class KdBean {

    /**
     * state : 1
     * message : null
     * data : [{"amount":1,"time":null,"commodity":["https://img.alicdn.com/bao/uploaded/i1/TB1N8ADLXXXXXXuapXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg"],"status":"已完成","tradeId":"liwanjia_1508291986553-15","totalpay":50},{"amount":3,"time":null,"commodity":["https://img.alicdn.com/bao/uploaded/i1/TB1N8ADLXXXXXXuapXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg"],"status":"已完成","tradeId":"liwanjia_1508230904881-15","totalpay":150},{"amount":1,"time":null,"commodity":["https://img-tmdetail.alicdn.com/bao/uploaded///img.alicdn.com/bao/uploaded/TB1BgmvXs0051JjSZFDXXXnLpXa_!!0-item_pic.jpg_160x160q90.jpg"],"status":"已完成","tradeId":"liwanjia_1508243634881-15","totalpay":55},{"amount":3,"time":null,"commodity":["https://img.alicdn.com/bao/uploaded/i1/TB1N8ADLXXXXXXuapXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg"],"status":"已完成","tradeId":"liwanjia_1508303056933-15","totalpay":150},{"amount":28,"time":1509104459000,"commodity":["https://img.alicdn.com/bao/uploaded/i1/TB1gR6eMVXXXXasaFXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg","https://img.alicdn.com/bao/uploaded/i1/1860270913/TB2djHVbVXXXXbdXXXXXXXXXXXX_!!1860270913.jpg_430x430q90.jpg"],"status":"待收货","tradeId":"liwanjia_1508222499631-15","totalpay":93},{"amount":38,"time":null,"commodity":["https://img.alicdn.com/bao/uploaded/i1/TB1gR6eMVXXXXasaFXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg","https://img-tmdetail.alicdn.com/bao/uploaded///img.alicdn.com/bao/uploaded/TB1BgmvXs0051JjSZFDXXXnLpXa_!!0-item_pic.jpg_160x160q90.jpg"],"status":"已完成","tradeId":"liwanjia_1508138461772-15","totalpay":93}]
     */

    private int state;
    private Object message;
    private List<DataBean> data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * amount : 1
         * time : null
         * commodity : ["https://img.alicdn.com/bao/uploaded/i1/TB1N8ADLXXXXXXuapXXXXXXXXXX_!!0-item_pic.jpg_60x60q90.jpg"]
         * status : 已完成
         * tradeId : liwanjia_1508291986553-15
         * totalpay : 50.0
         */

        private int amount;
        private long time;
        private String status;
        private String tradeId;
        private double totalpay;
        private List<String> commodity;

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTradeId() {
            return tradeId;
        }

        public void setTradeId(String tradeId) {
            this.tradeId = tradeId;
        }

        public double getTotalpay() {
            return totalpay;
        }

        public void setTotalpay(double totalpay) {
            this.totalpay = totalpay;
        }

        public List<String> getCommodity() {
            return commodity;
        }

        public void setCommodity(List<String> commodity) {
            this.commodity = commodity;
        }
    }
}
